package cn.song.enums;

import lombok.Getter;

@Getter
public enum OrderStatusEnum {

    NEW(0,"新单子"),
    FINISH(1,"完结"),
    CANCEL(2,"取消"),
     ;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private Integer code;

    private String  message;

    OrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
